<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>自定义类名</title>
    <link href="./js/animate.compat.css" rel="stylesheet">
</head>
<body>
<div id="app">
    <button @click="show=!show">show/hide</button>
    <transition enter-active-class="animated bounceInLeft" leave-active-class="animated bounceOutLeft">
        <p v-if="show">font transition</p>
    </transition>
</div>
<script src="./js/vue.js"></script>
<script>
    new Vue({
        el:"#app",
        data:{
            show:true
        }
    })
</script>
</body>
</html>